package cn.xjfcloud.onedriveserver.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import cn.xjfcloud.onedriveserver.pojo.dto.DownloadLog;

@Mapper
public interface DownloadLogMapper {

	@Select(value = "select * from tbl_download_log where onedrive_file_id = #{onedriveFileId}")
	List<DownloadLog> getDownloadLogByOnedriveFileId(Integer onedriveFileId);
	
	Integer addDownloadLog(@Param("downloadLog")DownloadLog downloadLog);
}
